#include <iostream>
using namespace std;

class Staff{
    public:
        virtual void f()=0;
};

class Programmer:public Staff{
    public:
        void f(){
            cout<<"I am a programmer"<<endl;
        }
};

int main(){
    Staff *p1=new Programmer();
    p1->f();
    return 0;
}
